package com.zuosh.utils;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * Created by zuoshuai on 2017/4/13.
 */
public class Person<T> {
    private int age;
    private String name;
    private T data;

    private Map<Man, Women> wives;//夫妻
    private List<Man> manList;
    private int count;
    private Date birthday;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public List<Man> getManList() {
        return manList;
    }

    public void setManList(List<Man> manList) {
        this.manList = manList;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Map<Man, Women> getWives() {
        return wives;
    }

//    public void setWivesAll(Map<Man, Women> wives, List<Man> manList) {
//        this.wives = wives;
//    }

    public void setWives(Map<Man, Women> wives) {
        this.wives = wives;
    }


}
